package com.lening.provider.service.impl.OwnersRepair;

import com.lening.common.base.BaseServiceImpl;
import com.lening.provider.dao.OwnersRepair.RepairTypeDAO;
import com.lening.provider.dto.OwnersRepair.RepairTypeDTO;
import com.lening.provider.po.OwnersRepair.RepairTypePO;
import com.lening.provider.service.OwnersRepair.RepairTypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 刘政华
 * @datetime 2024/6/5 11:57
 * @description 类对象
 */
@Slf4j
@Service
public class RepairTypeServiceImpl extends BaseServiceImpl<RepairTypeDAO, RepairTypePO, RepairTypeDTO> implements RepairTypeService {

    @Resource
    private RepairTypeDAO repairTypeDAO;

    @Override
    public List<RepairTypeDTO> getByName(String repairType) {
        return repairTypeDAO.getByName(repairType);
    }
}
